// 字典路由
var express = require('express');
var DictRouter = express.Router();
const { DictController } = require('../../controllers/admin');

DictRouter.post('/adminApi/dict/add', DictController.add); // 添加
DictRouter.post('/adminApi/dict/list', DictController.list); // 列表
DictRouter.post('/adminApi/dict/delete', DictController.delete); // 删除
DictRouter.post('/adminApi/dict/edit', DictController.edit); // 编辑

module.exports = DictRouter;
